const joi = require('joi')
const username = joi.string().alphanum().min(3).max(12).required()
const password = joi.string().alphanum().pattern(/^[\S]{6,12}$/).required()

exports.register_login_schema = {
    body: {
        username,
        password
    }
}